package de.windeln.marketing.campaign.costinterval.services.interfaces;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.joda.time.DateTimeZone;

import de.windeln.marketing.campaign.costinterval.model.CostintervalClientObject;

public interface CostIntervalService {

	List<Map<String, Object>> fetchAllCostIntervalForCampaign(int id);

	void insertNewCostInterval(CostintervalClientObject costInterval);

	void deleteCostInterval(Long costintervalId);

	void editCostInterval(CostintervalClientObject costInterval);

	void deleteCostIntervalByCampaignId(Long campaignId);

	Date findCampaignStartByCampaignId(long campaignId);

	Date findCampaignEndByCampaignId(long campaignId);

	List<Map<String, Object>> findAllCostintervalDatesByCampaignId(long campaignId);

}
